-- CALC_PET_UPGRADE_COST_TIME
-- 获取英雄升阶消耗时间

return function(pet)
    local costTimeList = { 900, 3600, 6*3600, 12*3600, 24*3600 };

    local rank = pet:getRank();
    local ctime = costTimeList[rank];

    -- 天赋减少进阶时间
    local prop = PropM.combine(ME.user, "advance_time", 1);
    ctime = PropM.apply(prop, ctime);

    return ctime;
end